<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021-05-01
 * Time: 11:24
 */
namespace app\admin\model;
use think\Model;

class SystemModels extends Model
{
    protected $name = "system_model";

    protected $pk = "id";
    public function getEngineList(){
        return ['InnoDB'=>'InnoDB','MyISAM'=>'MyISAM'];
    }
    public function getTabletypeList(){
        return ['ordinary'=>'普通表格','tree'=>'树状表格'];
    }
    public function getTableList(){
        return $this->where('status',1)->select();
    }

}